package com.wedistudio.slidesprovider;

import java.net.URL;

import com.wedistudio.android.framework.json.JSonObject;
import com.wedistudio.android.framework.service.ServiceRequest;
import com.wedistudio.android.framework.service.ServiceResponse;

public class Author extends JSonObject<Author> implements ServiceResponse,
		ServiceRequest {
	private URL url;
	private URL picture;
	private String name;
	private String source;

	public static Author create(String source, String name) {
		return new Author(source, name);
	}

	private Author() {
	}

	private Author(String source, String name) {
		this.name = name;
		this.source = source;
	}

	public URL getUrl() {
		return url;
	}

	public void setUrl(URL url) {
		this.url = url;
	}

	public URL getPicture() {
		return picture;
	}

	public void setPicture(URL picture) {
		this.picture = picture;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	private Slides slides;

	public Slides getSlides() {
		return slides;
	}
}
